package com.sealer.lambda;

import java.util.Arrays;
import java.util.List;

/**
 * Created by sealer on 17-6-9.
 */
public class ForEachTest {
    public static void main(String[] args) {
        List features = Arrays.asList("Lambdas", "Default Method", "Stream API", "Date and Time API");
        features.forEach(n -> System.out.println(n));
    }
}
